*{
    padding:0px;
    border:0px;
    box-sizing: border-box;
    font-family:kanit-extrabold,sans-serif;
}
.main{
    padding:10px;
    height:193vh;
    width:auto;
    background-color: rgb(99, 99, 106);
    display:flex;
}
.input-details{
  height:45%;
  width:32%;
  background-color: rgb(54, 52, 56);
  padding:20px;
  border-radius:20px; 
  margin-right:40px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
.controls{
  padding:10px 30px;
  height:100%;
  width:100%;
  background-color: rgba(34, 34, 34, 0.363);
  border-radius:5%;
}
.input-details label{
  font-size:13px;
  font-family:'kanit-extrabold',sans-serif;
  font-weight:600;
  color: rgba(255, 255, 255, 0.662);
  text-shadow:2px 5px 8px rgba(0, 0, 0, 0.3);
}
.input-details input {
  font-size:10px;
  margin-left:20px;
  width:55%;
  border-radius:10px;
  padding:5px;
  background-color: rgba(105, 105, 105, 0.568);
  transition: transform 0.4s ease;
  box-shadow:2px 5px 8px rgba(0,0,0,0.3);
  margin-bottom:10px;
}
.input-details input:hover{
  background-color: rgba(255, 255, 255, 0.735);
}
.input-details button{
  font-size:10px;
  margin-left:10px;
  margin-top:10px;
  padding:10px;
  border-radius:15px;
  border-top-left-radius:4%;
  font-weight:600;
  background-color:rgba(255, 255, 255, 0.632);
  color:rgba(0, 0, 0, 0.799);
  box-shadow:2px 5px 8px rgba(0,0,0,0.3);
  transition:transform 0.5s ease;
  cursor:pointer;
}
.input-details button:hover{
  transform: scale(1.1);
  color:white;
}
  .kanit-regular {
    font-family: "Kanit", serif;
    font-weight: 400;
    font-style: normal;
  }
  .kanit-bold {
    font-family: "Kanit", serif;
    font-weight: 700;
    font-style: normal;
  }
 .kanit-extrabold {
    font-family: "Kanit", serif;
    font-weight: 800;
    font-style: normal;
  }



/* yahan se shuru hua hau */
.box{
    background-color: rgb(255, 255, 255);
    width: 21cm;
    height: 29.7cm;
    padding: 45px;
}
.border{
    padding:35px 45px;
    height:100%;
    width:100%;
    border: 6px solid black;
    justify-items:center;
}
.top{
    height:2%;
    width:90%;
    text-transform:uppercase;
    justify-items:center;
}
.top2{
    height:2%;
    width:90%;
    text-transform:uppercase;
    justify-items:center;
}
.top3{
    height:2%;
    width:90%;
    text-transform:uppercase;
    justify-items: center;
}
.top2 h1{
    font-size:25px;
    color: rgb(104, 6, 6);
}
.top h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.top3 h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.logo{
    margin-top:20px;
}
.logo img{
  display:hidden;
    height:300px;
    width:auto;
}
.school-Name{
font-size:24px;
font-weight:600;
color: rgb(104, 6, 6);
text-transform:uppercase;
width:90%;
text-align:center;
margin-top:30px;
word-wrap: break-word;
}
.lab{
font-size:28px;
font-weight:800;
color: rgb(42, 14, 125);
text-transform:uppercase;
width:100%;
text-align:center;
margin-top:30px;
word-wrap: break-word;
}
.lower{
  height:40%;
  width:100%;
  /* background-color: brown; */
  display:flex;
  padding:10px 30px;
}
.lower-left{
  margin-top:30px;
  height:80%;
  width:50%;
  /* background-color: blueviolet; */
} 
.lower-right{
  margin-top:30px;
  margin-left:25px;
  height:80%;
  width:50%;
  /* background-color: rgb(43, 226, 86); */
}
.lower-left h5{
font-size:22px;
font-weight:600;
color: rgb(143, 21, 183);
text-transform:uppercase;
width:100%;
height:2%;
}
.lower-right h5{
  font-size:22px;
  font-weight:600;
  color: rgb(143, 21, 183);
  text-transform:uppercase;
  width:100%;
  height:2%;
  }
.teachers{
  font-size:18px;
  font-weight:600;
  text-transform:uppercase;
  color: rgba(0, 0, 0, 0.774);
  word-wrap: break-word;
}
.student{
  font-size:18px;
  margin-bottom:6px;
  font-weight:600;
  text-transform:uppercase;
  color: rgba(0, 0, 0, 0.774);
  word-wrap: break-word;
}
#dmsg{
  font-size:13px;
  font-family:'inconsolata',sans-serif;
  font-weight:700; 
  text-transform: capitalize;
  font-style: italic;
  width:50%;
  padding:2px;
  box-shadow:6px 2px 10px rgba(34, 34, 34, 0.263);
}
#umsg{
  font-size:13px;
  font-family:'inconsolata',sans-serif;
  font-weight:700; 
  text-transform: capitalize;
  font-style: italic;
  width:50%;
  padding:2px;
  box-shadow:6px 2px 10px rgba(34, 34, 34, 0.263);
}

@media(max-width:1268px) {
  .main{
    display:block;
    padding:0;
  }
  .input-details{
    height:40%;
    width:72%;
    background-color: rgb(54, 52, 56);
    padding:5px; 
    border-radius:0;
  }
  .controls{
    padding:10px;
    height:100%;
    width:100%;
    background-color: rgba(184, 184, 184, 0.084);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.493);
  }
  .input-details label{
    font-size:12px;
    font-family:'kanit-extrabold',sans-serif;
    font-weight:600;
    color: rgba(255, 255, 255, 0.662);
    text-shadow:2px 5px 8px rgba(0, 0, 0, 0.3);
  }
  .input-details input {
    margin-top:3px;
    font-size:10px;
    margin-left:8px;
    width:60%;
    border-radius:10px;
    padding:5px;
    background-color: rgba(105, 105, 105, 0.568);
    transition: transform 0.4s ease;
    box-shadow:2px 5px 8px rgba(0,0,0,0.3);
  }
  .input-details button{
    font-size:8px;
    margin-left:13px;
    padding:6px;
    border-radius:15px;
    border-top-left-radius:4%;
    font-weight:600;
    background-color:rgba(255, 255, 255, 0.632);
    color:rgba(0, 0, 0, 0.799);
    box-shadow:2px 5px 8px rgba(0,0,0,0.3);
    transition:transform 0.5s ease;
    cursor:pointer;
  }
  #dmsg{
    font-size:10px;
    font-weight:700;
    text-shadow: 2px 2px 4px rgba(34, 34, 34, 0.263);
    text-transform: capitalize;
    font-style: italic;
    z-index:1000;
  }
  .logo{
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .top{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top2{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top3{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top2 h1{
    font-size:25px;
    color: rgb(104, 6, 6);
}
.top h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.top3 h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.school-Name{
  font-size:23px;
  font-weight:600;
  color: rgb(104, 6, 6);
  text-transform:uppercase;
  width:100%;
  padding:0px 35px;
  text-align:center;
  margin-top:15px;
  word-wrap: break-word;
  }
  .lab{
  font-size:28px;
  font-weight:800;
  color: rgb(42, 14, 125);
  text-transform:uppercase;
  width:100%;
  text-align:center;
  margin-top:50px;
  word-wrap: break-word;
  }
  .teachers{
    word-wrap: break-word;
  }
  .student{
    word-wrap: break-word;
  }
}
@media(max-width:400px) {
  .main{
    display:block;
    padding:0;
  }
  .input-details{
    height:40%;
    width:72%;
    background-color: rgb(54, 52, 56);
    padding:5px; 
    border-radius:0;
  }
  .controls{
    padding:10px;
    height:100%;
    width:100%;
    background-color: rgba(184, 184, 184, 0.084);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.493);
  }
  .input-details label{
    font-size:12px;
    font-family:'kanit-extrabold',sans-serif;
    font-weight:600;
    color: rgba(255, 255, 255, 0.662);
    text-shadow:2px 5px 8px rgba(0, 0, 0, 0.3);
  }
  .input-details input {
    margin-top:3px;
    font-size:10px;
    margin-left:8px;
    width:60%;
    border-radius:10px;
    padding:5px;
    background-color: rgba(105, 105, 105, 0.568);
    transition: transform 0.4s ease;
    box-shadow:2px 5px 8px rgba(0,0,0,0.3);
  }
  .input-details button{
    font-size:8px;
    margin-left:13px;
    padding:6px;
    border-radius:15px;
    border-top-left-radius:4%;
    font-weight:600;
    background-color:rgba(255, 255, 255, 0.632);
    color:rgba(0, 0, 0, 0.799);
    box-shadow:2px 5px 8px rgba(0,0,0,0.3);
    transition:transform 0.5s ease;
    cursor:pointer;
  }
  #dmsg{
    font-size:10px;
    font-weight:700;
    text-shadow: 2px 2px 4px rgba(34, 34, 34, 0.263);
    text-transform: capitalize;
    font-style: italic;
    z-index:1000;
  }
  .logo{
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .top{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top2{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top3{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top2 h1{
    font-size:25px;
    color: rgb(104, 6, 6);
}
.top h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.top3 h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.school-Name{
  font-size:23px;
  font-weight:600;
  color: rgb(104, 6, 6);
  text-transform:uppercase;
  width:100%;
  padding:0px 35px;
  text-align:center;
  margin-top:15px;
  word-wrap: break-word;
  }
  .lab{
  font-size:28px;
  font-weight:800;
  color: rgb(42, 14, 125);
  text-transform:uppercase;
  width:100%;
  text-align:center;
  margin-top:50px;
  word-wrap: break-word;
  }
  .teachers{
    word-wrap: break-word;
  }
  .student{
    word-wrap: break-word;
  }
}
@media(max-width:350px) and (max-height:600px) {
  .main{
    display:block;
    padding:0;
  }
  .input-details{
    height:50%;
    width:80%;
    background-color: rgb(54, 52, 56);
    padding:5px; 
    border-radius:0;
  }
  .controls{
    padding:10px;
    height:100%;
    width:100%;
    background-color: rgba(184, 184, 184, 0.084);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.493);
  }
  .input-details label{
    font-size:12px;
    font-family:'kanit-extrabold',sans-serif;
    font-weight:600;
    color: rgba(255, 255, 255, 0.662);
    text-shadow:2px 5px 8px rgba(0, 0, 0, 0.3);
  }
  .input-details input {
    margin-top:3px;
    font-size:10px;
    margin-left:8px;
    width:60%;
    border-radius:10px;
    padding:5px;
    background-color: rgba(105, 105, 105, 0.568);
    transition: transform 0.4s ease;
    box-shadow:2px 5px 8px rgba(0,0,0,0.3);
  }
  .input-details button{
    font-size:8px;
    margin-left:13px;
    padding:6px;
    border-radius:15px;
    border-top-left-radius:4%;
    font-weight:600;
    background-color:rgba(255, 255, 255, 0.632);
    color:rgba(0, 0, 0, 0.799);
    box-shadow:2px 5px 8px rgba(0,0,0,0.3);
    transition:transform 0.5s ease;
    cursor:pointer;
  }
  #dmsg{
    font-size:10px;
    font-weight:700;
    text-shadow: 2px 2px 4px rgba(34, 34, 34, 0.263);
    text-transform: capitalize;
    font-style: italic;
    z-index:1000;
  }
  .logo{
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .top{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top2{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top3{
    height:2%;
    width:100%;
    text-transform:uppercase;
    text-align:center;
}
.top2 h1{
    font-size:25px;
    color: rgb(104, 6, 6);
}
.top h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.top3 h1{
    font-size:25px;color: rgb(104, 6, 6);
}
.school-Name{
  font-size:23px;
  font-weight:600;
  color: rgb(104, 6, 6);
  text-transform:uppercase;
  width:100%;
  padding:0px 35px;
  text-align:center;
  margin-top:15px;
  word-wrap: break-word;
  }
  .lab{
  font-size:28px;
  font-weight:800;
  color: rgb(42, 14, 125);
  text-transform:uppercase;
  width:100%;
  text-align:center;
  margin-top:50px;
  word-wrap: break-word;
  }
  .teachers{
    word-wrap: break-word;
  }
  .student{
    word-wrap: break-word;
  }
}